package com.pucong.gitee.database.backup.business.service.cover;


import com.pucong.gitee.database.backup.common.entity.service.ServiceFile;
import com.pucong.gitee.database.backup.common.entity.service.dto.ServiceFileConnectTestDto;
import com.pucong.gitee.database.backup.common.entity.service.dto.ServiceFileSaveDto;
import org.mapstruct.Mapper;

/**
 * @author $pucong
 * @url https://gitee.com/pucong
 * @create 2022.02.08
 */
@Mapper(componentModel = "spring")
public interface ServiceFileServiceBeanConvert {

    /**
     * dto转do
     * @return
     */
    ServiceFile dto2do(ServiceFileSaveDto dto);

    ServiceFile dto2do(ServiceFileConnectTestDto dto);
}
